package com.dlnu.shoping.shopping.mapper;

import java.util.HashMap;
import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.dlnu.shoping.shopping.mapper.provider.SqlProvider;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import com.dlnu.shoping.shopping.entity.Address;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

@Mapper
public interface AddressDao extends BaseMapper<Address> {
    @SelectProvider(type = SqlProvider.class,method = "addressListSql")
    List<HashMap> search(int useId);

}

